<!--
 * @Author: susu 1628469970@qq.com
 * @Date: 2023-06-15 13:34:00
 * @LastEditors: susu 1628469970@qq.com
 * @LastEditTime: 2023-06-16 11:25:55
 * @FilePath: \SUSU_CSS\web\大屏可视化\按钮.htm
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<link rel="stylesheet" href="../common.css">
<style>
  div {
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    font-weight: 500;
    color: #E2FFFD;
    width: 112px;
    height: 36px;
    position: relative;
    border-radius: 28px;
    z-index: 1;
    background: linear-gradient(270deg, rgba(69, 83, 100, 1), rgba(174, 201, 233, 1), rgba(69, 83, 100, 1));
  }

  div::after {

    content: '';
    border-radius: 28px;
    position: absolute;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #00bbbd 0%, #053f43 100%);
    z-index: -2;
  }

  div::before {
    content: '';
    border-radius: 28px;
    position: absolute;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(5, 63, 67, 0.5) 0%, rgba(0, 187, 189, 0.72) 100%);
    z-index: -1;
  }
</style>

<body>
  <div>后台管理</div>
</body>
<script>
  console.log(1 / 8)
  console.log(4 / 8)
  console.log(8 / 8)
  let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9]

  console.log(arr.slice(8, 16));

  const formatDateString = (e) => {
    return e.replace(/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\w+/, "$1-$2-$3 $4:$5:$6");
  };
  console.log(formatDateString('20221123094122.jpg'))
  console.log(formatDateString('2022-11-23 09:41:22'))
</script>

</html>